<!DOCTYPE html>
<html>
	<head>
		{{include file="../Common/head"}}
		
		
		<!--右侧边栏开始-->
		<div id="r-fixed" style="width:42px;position: fixed;background: #004B54;bottom: 50px;right: 10px;z-index: 1000;">
			<ul class="r-fixed-nav">
				<li class="fixed-cart">
					<a href="{{U('cart/index')}}"></a>
					{{if value="isset($cartNum)"}}
						<em class="cart_goods_all">{{$cartNum}}</em>
					{{else}}
						<em class="cart_goods_all">0</em>
					{{endif}}
					<div style="background: #DD2726;width: 0;height: 40px;position: absolute;top:0;left: -120px;overflow: hidden;color: white;font-size: 14px;text-align: center;line-height: 40px;" class="success">成功添加到购物车</div>
				</li>
				<li style="width: 40px;height: 40px;display: block;margin-top: 3px;" class="fixed-qq"></li>
				<li style="width: 40px;height: 40px;margin-top: 3px;" class="fixed-wx"></li>
				<li style="width: 40px;height: 40px;margin-top: 3px;" class="fixed-top"></li>
			</ul>
		</div>
		<!--右侧边栏结束-->
		<!--商品详情页开始-->
		<div id="goods_details">
			<div class="w_details_left">
				<h4 class="w_guide">
					<a href="{{U('index/index')}}">首页</a>
					<a href="">全部商品</a>
					<a href="">汽车专区</a>
					<a class="w_accord" href="">商品详情</a>
				</h4>
				{{foreach from="$goodsData" value="$v"}}
				<!--<?php sp($goodsData); ?>-->
				<form action="" method="post">
				<div class="w_details_top">
					<div class="w_details_choose">
						<!--大图-->
						<dl class="w_big_img">
							{{foreach from="$goodsData[0]['img']" key="$kbig" value="$vv"}}
							<dd class="w_big_img_dd w_big_img_{{$kbig}}">
								<img src="{{$vv}}" alt="" />
							</dd>
							{{endforeach}}
						</dl>
						<!--小图-->
						<ul class="w_small_img">
							{{foreach from="$goodsData[0]['img']" key="$ksmall" value="$value"}}
							<li class="w_small_img_li w_small_img_{{$ksmall}}">
								<img style="width: 53;height: 53px;" src="{{$value}}" alt="" />
							</li>
							{{endforeach}}
							<!--<li>
								<img src="./Public/Home/images/80_1463110111490.jpg_53x53.png.jpg" alt="" />
							</li>-->
						</ul>
					</div>
					
					<div class="w_details_text">
						<div class="zhengchang">
							<p>
								<!--<em>十元专区</em>-->
								(第
								<span>
									1期）
									<strong>
										<c id="cart_title" gname="{{$v['gname']}}">{{$v['gname']}}</c>
									</strong>
								</span>
								<!--获得商品gid-->
								<input type="hidden" id="gid" value="{{$v['gid']}}"/>
								<!--获得商品图片-->
								<input type="hidden" id="goods_big_img" value="{{$v['pic']}}"/>
							</p>
							<b>
								价值：￥
								<span id="price" price="{{$v['price']}}">
									{{$v['price']}}
								</span>
							</b>
							<div class="w_line">
								<span id="zc_line">
								</span>
							</div>
							<ul class="w_number">
								<li class="w_amount w_amount_one">21439</li>
								<li class="w_amount w_amount_all">82960</li>
								<li class="w_amount  w_amount_two w_amount_val">61521</li>
								<li class="w_amount_one">已参与</li>
								<li>总需人次</li>
								<li class="w_amount_two">剩余人次</li>
							</ul>
							<div class="w_cumulative w_cumulative_another">
								<strong>夺宝：</strong>
								<input class="w_detailsinputs w_detailsinputs_one times" onkeyup="bugTimesInput()" value="1" min="1" max="61521" maxlength="7" type="text">
					<!--maxlength="7" 的意思是在输入框中只能输入7个字符-->
								<span class="w_subtracts_one"></span>
								<span class="w_pluss_one"></span>
								<i class="">10</i>
								<i class="">20</i>
								<i class="">50</i>
								<i class="w_num_color">100</i>
								<em class="">包尾</em>
								<strong class="w_tail">人次</strong>
							</div>
							<dl class="w_rob w_rob_another y_rob_another">
								<dd>
									<a class="w_slip" href="">立即夺宝</a>
								</dd>
								<dd class="w_slip_out">
									<a class="w_slip_in" href="javascript:;">加入购物车</a>
								</dd>
							</dl>							
							
						</div>
						<ul class="w_security">
								<li class="w_security_one">公平公正公开</li>
								<li class="w_security_two">品质保障</li>
								<li class="w_security_three">全国免运费（港澳除外）</li>
								<li class="w_security_four">权益保障</li>
							</ul>
							<!--未登录开始-->
							<div class="w_winner_bg">
								<span class="w_not_logged">
									<a href="">
										请登录
									</a>
									，查看你的夺宝号码！
								</span>
								<strong></strong>
							</div>
							<!--未登录结束-->
						<div class="bdsharebuttonbox bdshare-button-style0-16">
							<a class="bds_more" href=""></a>
							<a class="bds_qzone" href=""></a>
							<a class="bds_tsina" href=""></a>
							<a class="bds_tqq" href=""></a>
							<a class="bds_renren" href=""></a>
							<a class="bds_weixin" href=""></a>
						</div>
					</div>
				</div>
			</div>
			<div class="publish">
				<h3>揭晓信息</h3>
				<div class="div_name">
					<div class="div_winners">
						<div class="">
							<a href="">
								<img src="./Public/Home/images/1_3049.jpg"/>
							</a>
						</div>
						<p>
							恭喜
								<a href="">钟莫离</a><span>(天朝帝国)</span>
							获得该奖品
						</p>
						<dl>
							<dd>
								幸运号码：<span>10001202</span>
							</dd>
							<dd>
								本期参与：<span>1</span>人次
							</dd>
							<dd>揭晓时间：2016-05-19 20:33:00</dd>
							<dd>夺宝时间：2016-05-19 19:25:34</dd>
							<dd>
								<a href="">查看详情</a>
							</dd>
						</dl>
					</div>
				</div>
				<ul class="ul_times">
					<li class="li_first"><a href="">第3676期</a></li>
					<li><a href="">第3675期</a></li>
				</ul>
				<div class="div_page">
					<a class="a_up" href="">上一页</a><a class="a_down" href="">下一页</a>
				</div>
			</div>
						
		</div>
						<!--details 细节的意思-->
		<div class="w_details_bottom">
			<dl class="w_calculate_nav">
				<dd class="w_results_arrow">商品详情</dd>
				<dd>所有参与记录</dd>
				<dd>晒单</dd>
				<span class="w_remaining" style="width:611px"></span>
			</dl>
			<div class="w_calculate_con">
				<div class="w_prize_con w_prize_img c_newest_prize_con" style="display: block;">
					{{$v['details']}}
				</div>
			</div>
		</div>
		</form>
		{{endforeach}}
		<!--商品详情页结束-->
		<!--最底层部分开始-->
		{{include file="../Common/foot"}}
		<!--最底层部分结束-->
	</body>
</html>
